<?php
//自定义页面
namespace app\admin\controller;

class Workbench
{
    protected $middleware = [\app\common\middleware\Auth::class => [], \app\common\middleware\Power::class => []];
    public function index()
    {
        return ViewTpl('admin/workbench/index');
    }

    public function Console()
    {
        return ViewTpl('admin/workbench/console');
    }
}